package cn.yh.hospitalappointmentsystemdemo.mapper;

import cn.yh.hospitalappointmentsystemdemo.domain.entity.User;
import cn.yh.hospitalappointmentsystemdemo.domain.vo.AdminVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminsMapper {
    User loginByUsername(@Param("username") String username);

    AdminVo selectById(@Param("adminId") Long adminId);
}
